﻿using Sustainalytics.LongRunningTaskManager.Interface;

namespace Sustainalytics.LongRunningTaskManager.Tests
{
    public class MyTaskInt : MyTaskBase
    {
        public static int ReturnValue
        {
            get
            {
                return 123;
            }
        }

        public override LongRunningTaskTypeEnum Type
        {
            get { return (LongRunningTaskTypeEnum)1000; }
        }

        public override object Start(LongRunningTaskContext context)
        {
            base.Start(context);

            return ReturnValue;
        }
    }
}
